Skip to main content

timeScale

Type

property

Summary

Reports the number of intervals per second of a movie or sound.

Syntax

get the timeScale of <player>

Description

Use the timeScale property to convert internal movie or sound times into seconds.

The timeScale is the number of intervals per second of a movie or sound. These intervals are used for the player's startTime, endTime, duration, and currentTime properties, and you can use the timeScale property to convert from the time scale used by the movie or sound to seconds.

Examples

put the timeScale of last player into intervalsPerSecond
put (the duration of me/the timeScale of me) into runTime

glossary: property

keyword: integer, player

object: player

property: endTime, currentTime, properties, callbacks, duration, startTime

Compatibility and Support

Introduced

LiveCode 1.0

OS

mac

windows

linux

Platforms

desktop

server

Thank you for your feedback!

Was this page helpful?